package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhentao.dto.system.SysUserDto;
import com.zhentao.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    SysUser selectByUserName(String userName);

    Page<SysUser> findByPage(@Param("sysUserDto") SysUserDto sysUserDto,@Param("page") Page<SysUser> page);
}